Part Number Hot Search : 
05001 383L2 TCR2EE15 A4011 HC405 CS41F 20M126 LM2904
Product Description
Full Text Search
 

To Download MC33389DDW Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 Freescale Semiconductor Advance Information
Document Number: MC33389 Rev. 5.0, 3/2007
System Basis Chip with Low Speed Fault Tolerant CAN
The 33389 is a monolithic integrated circuit combining many functions frequently used by automotive Engine Control Units (ECUs). It incorporates a low speed fault tolerant CAN transceiver. Features * Dual Low Drop Voltage Regulators, with Respectively 100 mA and 200 mA Current Capabilities, Current Limitation, and Over Temperature Detection with Pre-warning * 5.0 V Output Voltage for V1 Regulator * Three Operational Modes (Normal, Stand-by, and Sleep Modes) Separated from the CAN Interface Operating Modes * Low Speed 125 kBaud Fault Tolerant CAN Interface, Compatible with 33388 Stand Alone Physical Interface * V1 Regulator Monitoring and Reset Function * Three External High Voltage Wake-Up Inputs, Associated with V3 VBAT Switch * 100 mA Output Current Capability for V3 VBAT Switch Allowing Drive of External Switches or Relays * Low Stand-by and Sleep Current Consumption * VBAT Monitoring and VBAT Failure Detection Capabilities * DC Operating Voltage up to 27 V * 40 V Maximum Transient Voltage * Programmable Software Window Watchdog and Reset * Wake-Up Capabilities (CAN Interface, Local Programmable Cycle Wake * INterface with the MCU through the SPI * Pb-Free Packaging Designated by Suffix Codes VW and EG
33389
SYSTEM BASIS CHIP
DH SUFFIX VW SUFFIX (PB-FREE) PLASTIC PACKAGE 98ASH70273A 20-PIN HSOP
DW SUFFIX EG SUFFIX (PB-FREE) PLASTIC PACKAGE 98ASB42345B 28-PIN SOICW
ORDERING INFORMATION
Device MC33389CDH/R2 HSOP-20 MC33389CVW/R2 -40 to 125C MC33389CDW/R2 SO-28 MC33389DDW/R2 Temperature Range (TA) Package
33389
5.0 V MCU CS SCK MOSI MISO 5.0 V V1 V2 CS SCK MOSI MISO INT RST TX RX VBAT V3 L0 L1 L2 GND RTH CAN H CAN L RTL
VPWR
Switched VBAT Wake-Up Inputs
SPI
Twisted CAN Bus Pair
Figure 1. 33389 Simplified Application Diagram
* This document contains certain information on a new product. Specifications and information herein are subject to change without notice.
(c) Freescale Semiconductor, Inc., 2007. All rights reserved.
DEVICE VARIATIONS
DEVICE VARIATIONS
Table 1. Device Variations
Freescale Part No. MC33389CDH MC33389CVW MC33389CDW MC33389DDW The sole difference between the C version and the D version is V1 Reset Threshold. Reference V1 Reset Threshold on V1 on page 9. V1 Undervoltage In V1 undervoltage condition, device remains in permanent reset state until V1 returns to normal conditions. V1 is protected by overcurrent and overtemperature functions.
33389
2
Analog Integrated Circuit Device Data Freescale Semiconductor
INTERNAL BLOCK DIAGRAM
INTERNAL BLOCK DIAGRAM
Dual Voltage Regulator VBAT 5V Voltage Control Battery Voltage Failure Detect Voltage Monitor 5V VBAT Switch Supply Mode Control Interrupt Control Reset Control Watchdog & Oscillator L0 L1 L2 Programmable Wake-Up Inputs V2 V2
V1
V3 INT RST
CS SCLK MOSI MISO GND SPI Interface Fault-Tolerant CAN Transceiver
TX RX RTH CANH CANL RTL
Figure 2. 33389 Simplified Internal Block Diagram
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
3
PIN CONNECTIONS
PIN CONNECTIONS
TX V1 RX RST INT MISO MOSI SCLK CS L2
1 2 3 4 5 6 7 8 9 10
20 19 18 17 16 15 14 13 12 11
V3 VBAT RTL V2 CANH GND CANL RTH L0 L1
Figure 3. 33389 Pin Connections Table 1. 33389 Pin Definitions: HSOSP 20-Lead A functional description of each pin can be found in the Functional Pin Description section beginning on page 17.
Pin Number 1 2 3 4 5 6 7 8 9 10 - 12 13 14 15 16 17 18 19 20 Pin Name TX V1 RX RST INT MISO MOSI SCLK CS L0 - L2 Formal Name Transmitter Data Definition Transmitter input of the LS CAN interface
Voltage Regulator One This 5.0 V pin is a 3% low drop voltage regulator dedicated to the microcontroller supply. Receiver Data Reset Interrupt Output Master In/Slave Out Master Out/Slave In System Clock Chip Select Level 0 - 2 inputs (L0: L2) RTH CAN Low Ground CAN High Receiver output of the LS CAN interface This is an Input/Output pin. This output is asserted LOW when an enabled interrupt condition occurs. This pin is the tri-state output from the shift register. This pin is for the input of serial instruction data. This pin clocks the internal shift registers. This pin communicates with the system MCU and enables SPI communication. Input interfaces to external circuitry. Levels at these pins can be read by SPI and input can be used as programmable wake-up input in Sleep or Stop mode. Pin for the connection of the bus termination to CANH CAN low input/output This pin is the ground of the integrated circuit. CAN high input/output
RTH CANL
GND CANH V2 RTL VBAT V3
Voltage Regulator Two This 5.0 V pin is a low drop voltage regulator dedicated to the peripherals supply. RTL Voltage Battery Voltage Regulator Three Pin for the connection of the bus termination to CANL This pin is voltage supply from the battery. This pin is a 10 switch to VBAT, used to supply external contacts or relays.
33389
4
Analog Integrated Circuit Device Data Freescale Semiconductor
PIN CONNECTIONS
TX V1 RX RST INT GND GND GND GND MISO MOSI SCLK CS L2
1 2 3 4 5 6 7 8 9 10 11 12 13 14
28 27 26 25 24 23 22 21 20 19 18 17 16 15
V3 VBAT RTL V2 CANH GND GND GND GND CANL RTH NC L0 L1
Table 2. 33389 Pin Definitions: SOICW 28-Lead A functional description of each pin can be found in the Functional Pin Description section beginning on page 17.
Pin Number 1 2 3 4 5 6 -9 20 - 23 10 11 12 13 14, 15, 16 17 18 19 24 25 26 27 28 Pin Name TX Formal Name Transmitter Data Voltage Regulator One Receiver Data Reset Interrupt Ground Master In/Slave Out Master Out/Slave In System Clock Chip Select Wake-up Input (L0: L2) No Connect Thermal Resistance High CAN Low CAN High Voltage Regulator Two Thermal Resistance Low Voltage Battery Voltage Regulator Three Definition Transmitter input of the LS CAN interface This 5.0 V pin is a 3% low drop voltage regulator dedicated to the microcontroller supply. Receiver output of the LS CAN interface This is an Input/Output pin. This output is asserted LOW when an enabled interrupt condition occurs. These device ground pins are internally connected to the package lead frame to provide a 33389-to-PCB thermal path. This pin is the tri-state output from the shift register. This pin is for the input of serial instruction data. This pin clocks the internal shift registers. This pin communicates with the system MCU and enables SPI communication. Input interfaces to external circuitry. Levels at these pins can be read by SPI and input can be used as programmable wake-up input in Sleep or Stop mode. This pin does not connect. Pin for the connection of the bus termination to CANH CAN low input/output CAN high input/output This 5.0 V pin is a low drop voltage regulator dedicated to the peripherals supply. Pin for the connection of the bus termination to CANL This pin is voltage supply from the battery. This pin is a 10 switch to VBAT, used to supply external contacts or relays.
V1 RX
RST INT GND MISO MOSI
SCLK
CS L0: L2
NC
RTH CANL
CANH
V2 RTL VBAT V3
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
5
ELECTRICAL CHARACTERISTICS MAXIMUM RATINGS
ELECTRICAL CHARACTERISTICS
MAXIMUM RATINGS
Table 3. Maximum Ratings All voltages are with respect to ground unless otherwise noted. Exceeding these ratings may cause a malfunction or permanent damage to the device.
Ratings ELECTRICAL RATINGS DC Voltage at VBAT Pin Transient Voltage at VBAT Pin
t < 500 ms (load dump)
Symbol
Value
Unit
VBAT VBAT VBAT VBAT
-0.3 to 27 40
V V
DC Voltage at Pins CANH and CANL Transient Voltage at Pins CANH and CANL 0.0 < V2 < 5.5, VBAT > 0.0, t < 500 ms Coupled Transient Voltage at Pins CANH and CANL With 100 Termination Resistors, Coupled Through 1.0 nF DC Voltage at Pins V1 and V2 DC Current at Output Pins RX, MISO, RST, INT DC Voltage at Input Pins TX, MOSI, CS, RST DC Voltage at Pins L0, L1, L2 0.0 < VBAT < 40 V Current at Pins L0, L1, L2 Transient Current at Pin V3 DC Voltage at pins RTH and RTL ESD Voltage on any Pin (HBM 100 pF, 1.5 K) ESD Voltage on L0, L1, L2, CANH, CANL, VBAT ESD Voltage on any Pin (MM 200 pF, 0 ) THERMAL RATINGS Operating Junction Temperature Ambient Temperature Storage Temperature Notes 1. Pulses 1, 2, 3a, and 3b according to ISO7637.
(1)
-20 to 27 -40 to 40
V V
VBAT
-100 to 100
V
VBAT VBAT VBAT VBAT
-0.3 to 6.0 -20 to 20 -0.3 to 6.0 -0.3 to 40
V mA V V
VBAT VBAT VBAT VBAT VBAT VBAT
-15 -30 to 20 -0.3 to 40 -2.0 to 2.0 -2.0 to 2.0 -150 to 150
mA mA V kV kV V
TJ TA TS
-40 to 150 -40 to 125 -55 to 165
C C C
33389
6
Analog Integrated Circuit Device Data Freescale Semiconductor
ELECTRICAL CHARACTERISTICS MAXIMUM RATINGS
Table 3. Maximum Ratings (continued) All voltages are with respect to ground unless otherwise noted. Exceeding these ratings may cause a malfunction or permanent damage to the device.
Ratings THERMAL RESISTANCE RTH, RTL Termination Resistance Junction to Heatsink Thermal Resistance for HSOP-20 33% Power on V1, 66% on V2 (including CAN) (2) Junction to Pin Thermal Resistance for SO-28WD (3) Thermal Shutdown Temperature Peak Package Reflow Temperature During Reflow (4), (5) RAS/P TSD TPPRT 17 165 Note 5 C/W C C RRTHRTL RAJC 500 to 16 k 3.1 C/W Symbol Value Unit
Notes 2. Refer to thermal management in device description section. 3. Refer to thermal management in device section. Ground pins 6, 7, 8, 9, 20, 21, 22, and 23 of SO28WB package. 4. Pin soldering temperature limit is for 10 seconds maximum duration. Not designed for immersion soldering. Exceeding these limits may cause malfunction or permanent damage to the device. 5. Freescale's Package Reflow capability meets Pb-free requirements for JEDEC standard J-STD-020C. For Peak Package Reflow Temperature and Moisture Sensitivity Levels (MSL), Go to www.freescale.com, search by part number [e.g. remove prefixes/suffixes and enter the core ID to view all orderable parts. (i.e. MC33xxxD enter 33xxx), and review parametrics.
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
7
ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics Characteristics noted under conditions VBAT, - 40C TA 125C unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25C under nominal conditions unless otherwise noted.
Characteristic POWER INPUT (VBAT) Nominal VBAT Operating Range Functional VBAT Operating Range VBAT Threshold for BATFAIL Flag Delay for Signalling BATFAIL Overvoltage VBAT Threshold Delay for Setting BATHIGH Flag Supply Current in Sleep Mode Forced Wake-Up and Cyclic Sense Disabled VBAT = 12 V, TJ = 25C to 150C Supply Current in Sleep Mode Forced Wake-Up and Cyclic Sense Disabled VBAT = 12 V, TJ = -40C to 25C Supply Current in Sleep Mode Forced Wake-Up and Cyclic Sense Enabled VBAT = 12 V, TJ = 25C to 150C Supply Current in Sleep Mode Forced Wake-Up and Cyclic Sense Enabled VBAT = 12 V, TJ = -40C to 25C Supply Current in Sleep Mode Forced Wake-Up and Cyclic Sense Disabled VBAT = 12 V, TJ = 25C to 150C Supply Current in Stand-by Mode Supply Current in Normal Mode Normal Mode with I(V1) = 1 I(V2) = 0 Bus in Recessive State POWER OUTPUT V1 Output Voltage 0 mA < IOUT < 100 mA 5.5 V < VBAT < 27 V V1 Output Voltage IOUT =< 100 mA 27 V < VBAT < 40 V V1 Drop Voltage IOUT =< 100 mA (6) Notes 6. Measured when V1 has dropped 100mV below its nominal value
V1DROP V1
Symbol
Min
Typ
Max
Unit
VBAT VBAT BATFAIL
TFAIL
5.5 5.5 2.0 -- 18 4.0 --
-- -- -- 150 20 18
18 27 4.0 400 22 50
V V V s V s A
BATHIGH THIGH ISLEEP1
75
125
ISLEEP2
--
-- 210
A
ISLEEP3
-- 105 155
A
ISLEEP4
--
-- 250
A
ISLEEP5
--
-- 300
A
ISTB2 INREC
-- --
0.5 3.5
1.0 7.0
mA mA
V1NOM 4.85 5.0 5.15
V
V 4.8 5.0 5.2
-- 0.35 0.5
V
33389
8
Analog Integrated Circuit Device Data Freescale Semiconductor
ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued) Characteristics noted under conditions VBAT, - 40C TA 125C unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25C under nominal conditions unless otherwise noted.
Characteristic POWER OUTPUT (CONTINUED) V1 Output Current Limitation V1NOM - 100 mV V1 Overtemperature Shut OFF Threshold Junction Temperature V1 Pre-Warning Temperature Threshold Junction Temperature V1 Temperature Threshold Difference V1 Reset Threshold on V1 5.5 V < VBAT < 27 V (C Version) (D Version) V1 Reset Active V1 Range V1 Reverse Current from V1 to VBAT and GND V1 = 4.9 V, 0 < VBAT < 4.9 V V2 Output Voltage 0 mA < IOUT < 200 mA 5.5 V < VBAT < 40 V V2 Drop Voltage IOUT = 200 mA V2 Drop Voltage IOUT = 20 mA
(7) (7)
Symbol
Min
Typ
Max
Unit
I1MAX
130
170
200
mA
TV1H
160
--
190
C
TV1L
130
--
160
C
TV1H-TV1L VR1
20
--
40
C V
4.1 V2 - 0.4
V1R IREV
4.3 V1 - 0.28
VR1
4.8 V1 - 0.1 -- 1.0 V mA
1.0 --
--
V2NOM
4.75
5.0
5.25
V
V2DROP
--
0.2
0.5
V
V2DROP
--
0.05
0.15
V
V2 Output Current Limitation V2NOM -100 mV V2 Threshold on V2 to Report V2 OFF V2 Nominal VR2 Delay Time V2 Overtemperature Pre-Warning Threshold V2 Junction Temperature V2 Overtemperature Switch-OFF Threshold V2 Junction Temperature V2 Line Regulation 9.0 V < VBAT < 16.5 V2 Load Regulation 4.0 mA < ILOAD < 200 mA V2 Line Ripple Rejection 100 Hz, 1.0 VPP on VBAT
(8)
I1MAX
220
280
350
mA
VR2 VR2 TV2L TV2H V2LR1
4.1
4.55
4.75
V
20 130
-- --
70 160
s C
155
--
185
C
-15
--
+15
mV
V2LR2
-75
--
+75
mV
V2LRR
30
55
--
dB
Notes 7. Measured when V1 has dropped 100mV below its nominal value 8. Guaranteed by design; however, it is not production tested
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
9
ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued) Characteristics noted under conditions VBAT, - 40C TA 125C unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25C under nominal conditions unless otherwise noted.
Characteristic POWER OUTPUT (CONTINUED) V2 Percentage Difference V2-V1 VBAT > 9.0, IV1 = 20 mA, IV2 = 40 mA V3 High Level Voltage Drop IV3 = -50 mA, 9.0 V < VBAT < 40 V V3 High Level Voltage Drop IV3 = -50 mA, 6.0 V < VBAT < 9.0 V V3 Leakage Output Limitation 5.5 V < VBAT < 27 V V3 Leakage Current V3 = 0 (V3 OFF) V3 Overtemperature Detection Junction Temperature V3 Voltage with -30 mA (negative current for Relay Switch OFF) No Functional Error Allowed for t < 100 ms CAN Transceiver V2 for Forced Bus Stand-by Mode (Fail Safe) CANH/L Differential Receiver, Threshold Voltage CANH/L Differential Receiver, Dominant to Recessive Threshold (Bus Failures 1, 2, and 5) CANH Recessive Output Voltage TX = High, R(RTH) < 4.0 k CANL Recessive Output Voltage TX = High, R(RTH) < 4.0 k CANH Output Voltage, Dominant TX = 0 V, BusNormal Mode, ICANH = - 40 mA CANL Output Voltage, Dominant TX = 0 V, Bus Normal Mode, ICANL = - 40 mA CANH Output Current Limit (VCANH = 0.0 V, TX = 0) CANL Output Current Limit (VCANL = 14 V, TX = 0) Detection Threshold for Short Circuit to Battery Voltage Bus Normal Mode Detection Threshold for Short Circuit to Battery Voltage Bus Stand-by Mode CANH Output Current, Failure 3 Bus Stand-by Mode VCANH = 12 V CANL Output Current, Failure 4 Bus Stand-by Mode, VCANL = 0.0 V, VBAT = 12 V ICANLF4 -- 0.0 2.0 A ICANHF3 -- 5.0 10 A VCANH VBAT/2+3 -- VBAT/2+5 V VCANH-VCANL 7.3 7.9 8.9 V ICANL 50 95 130 mA ICANH 50 75 100 mA VCANL -- -- 1.4 V VCANH V2-1.4 -- -- V VCANL V2-0.2 -- -- V VCANH -- -- 0.2 V VRC2 VCANTH VCANDRTH 3.0 -3.2 -3.2 3.9 -- -- 4.7 -2.5 -2.5 V V V VV3 0.3 -- 0.5 V TV3 155 -- 185 C I3LEAK -- -- 15 A I3LIM 100 150 250 mA V3DROP -- -- 1.5 V V3DROP -- 0.4 1.0 V V2V2-V1 -3.0 -- 3.0 % Symbol Min Typ Max Unit
33389
10
Analog Integrated Circuit Device Data Freescale Semiconductor
ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued) Characteristics noted under conditions VBAT, - 40C TA 125C unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25C under nominal conditions unless otherwise noted.
Characteristic POWER OUTPUT (CONTINUED) CANL Wake-Up Voltage Threshold Bus Stand-by Mode CANH Wake-Up Voltage Threshold Bus Stand-by Mode Wake-Up Threshold Difference CANH Single Ended Receiver Threshold Failures 4, 6, and 7 CANL Single Ended Receiver Threshold Failures 3 and 8 CANL Pull-Up Current Bus Normal Mode CANH Pull Down Current Bus Normal Mode Receiver Differential Input Impedance CANH/CANL Differential Receiver Common Mode Voltage Range RTL to V2 Switch on Resistance IOUT < -10 mA, Bus Normal Operating Mode RTL to Battery Switch Series Resistance Bus Stand-by Mode RTH to Ground Switch on Resistance IOUT < 10 mA, All Modes CONTROL INTERFACE High Level Input Voltage CS Threshold for SPI Wake-Up SBC in Sleep Mode, V1 < 1.5 V CS Filter Time for SPI Wake-Up SBC in Sleep Mode, V1 < 1.0 V Low Level Input Voltage High Level Input Current on CS VI = 4.0 V Low Level Input Current on CS VI = 1.0 V TX High Level Input Current VI = 4.0 V TX Low Level Input Current VI = 1.0 V SI, SCLK Input Current 0 < VIN < V1 33389 ISISLK -10 -- +10 A ITXL -800 -320 -100 A ITXH -200 -80 -25 A ICSL -100 -- -20 A VIL ICSH -0.3 -100 -- -- 0.3 V1 -20 V A tCSFT -- -- 3.0 s VIH VCSTH 0.7 V1 -- -- 2.2 V1 + 0.3 V -- V V RRTH -- 25 70 RRTL 8.0 12.5 20 k RDIFF VCOM RRTL 100 -8.0 10 -- -- 25 180 8.0 70 k V ICANLPD 45 75 90 A ICANLPU 45 75 90 A VCANL 2.8 3.05 3.4 V VWAKEL VWAKEH VCANH 0.2 1.5 -- 1.85 -- 2.15 V V VWAKEH 1.2 2.0 2.7 V VWAKEL 2.5 3.3 3.9 V Symbol Min Typ Max Unit
Analog Integrated Circuit Device Data Freescale Semiconductor
11
ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued) Characteristics noted under conditions VBAT, - 40C TA 125C unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25C under nominal conditions unless otherwise noted.
Characteristic CONTROL INTERFACE (CONTINUED) RX, INT, MISO High Level Output Voltage I0 = -250 A RX, INT, MISO Low Level Output Voltage I0 = -1.5 mA RX, INT, MISO Tri-Stated SO Output Current 0 V < VSO < V1 RST High Level Input Voltage RST Low Level Input Voltage RST High Level Output Current 1 0.0 < VOUT < 0.5 V1 RST High Level Output Current 2 0.5 < VOUT < V1 RST Low Level Output Voltage (I0 = 1.5 mA) 1.0 V < VBAT < 27 V LX/Wake-Up Positive Switching Threshold 6.0 V 33389
12
Analog Integrated Circuit Device Data Freescale Semiconductor
ELECTRICAL CHARACTERISTICS DYNAMIC ELECTRICAL CHARACTERISTICS
DYNAMIC ELECTRICAL CHARACTERISTICS
Table 5. Dynamic Electrical Characteristics Characteristics noted under conditions 7.0 V VSUP 18 V, - 40C TA 125C, GND = 0 V unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25C under nominal conditions unless otherwise noted.
Characteristic MICROCONTROLLER INTERFACE AC CANL/CANH Slew Rates, Rising or Falling Edges, TX from Recessive to Dominant State CLOAD - 10 nF, 133 Termination Resistors AC CANL/CANH Slew Rates, Rising or Falling Edges, TX from Dominant to Recessive State CLOAD - 10 nF, 133 Termination Resistors AC Propagation Delay TX to RX Low CLOAD - 10 nF, 133 Termination Resistors AC Propagation Delay TX to RX High CLOAD - 10 nF, 133 Termination Resistors Wake-Up Filter Time RST Duration after V1 High SCLK Clock Period SCLK Clock High Time SCLK Clock Low Time Falling Edge of CS to Rising Edge of SCLK Falling Edge of SCLK to Rising Edge of CS SI to Falling Edge of SCLK Falling Edge of SCLK to SI SO Rise Time (CL = 200 pF) SO Fall Time (CL = 200 pF) SI, CS, SCLK Incoming Signal Rise Time SI, CS, SCLK Incoming Signal Fall Time Time from Falling Edge of CS to SO Low Impedance High Impedance Time from Rising Edge of SCLK to SO Data Valid 0.2 V1 or V2 < SO > 0.8 V1 or V2, CL = 200 pF Running Mode Oscillator Tolerance (Normal Request, Normal and Stand-by Modes (9)) Software Watchdog Timing 1 (9) Software Watchdog Timing 2 Software Watchdog Timing 3 Software Watchdog Timing 4
(9) (9) (9)
Symbol
Min
Typ
Max
Unit
tCANRD
3.5
5.0
10
V/s
tCANDR
2.0
3.5
10
V/s
tDH
--
1.2
2.0
s
tDL
--
2.0
3.0
s
tWUFT tRES tPSCLK tWSCLKH tWSCLKL tLEAD tLEAD tSISU tSI(HOLD) tRSO tFSO tRSI tFSI tSO(EN) tSO(DIS) tVALID
8.0 -- 500 175 175 250 250 125 125 -- -- -- -- --
20 1.0 -- -- -- 50 50 25 25 25 25 -- -- --
38 -- -- -- -- -- -- -- -- 75 75 200 200
s ms ns ns ns ns ns ns ns ns ns ns -- ns
200 200 -- 50 125 --
RMOT tSW1 tSW2 tSW3 tSW4
-12 4.4 8.8 17.6 28
-- 5.0 10 20 32
+12 5.6 11.2 22.4 36
% ms ms ms ms
Notes 9. Software watchdog timing accuracy is based on the running mode oscillator tolerance
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
13
ELECTRICAL CHARACTERISTICS DYNAMIC ELECTRICAL CHARACTERISTICS
Table 5. Dynamic Electrical Characteristics (continued) Characteristics noted under conditions 7.0 V VSUP 18 V, - 40C TA 125C, GND = 0 V unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25C under nominal conditions unless otherwise noted.
Characteristic MICROCONTROLLER INTERFACE (CONTINUED) Software Watchdog Timing 5 (10) Software Watchdog Timing 6 Software Watchdog Timing 7 Software Watchdog Timing 8
(10) (10) (10). (10) (10) (10) (10) (10) (10) (10) (10) (10)
Symbol
Min
Typ
Max
Unit
tSW5 tSW6 tSW7 tSW8 SMOT tCY1 tCY2 tCY3 tCY4 tCY5 tCY6 tCY7 tCY8 GS1
44.8 65 88 167 -30 22.4 44.8 89.6 179 358 717 1434 5734 -1.0
51 74 100 190 -- 32 64 128 256 512 1024 2048 8192 -0.7
58 83 112 213 +30 46.6 83.2 166.4 333 665 1331 2662 10650 -0.3
ms ms ms ms % ms ms ms ms ms ms ms ms V
Sleep Mode Oscillator Tolerance
Cyclic Sense/FWU Timing 1 Sleep Mode Cyclic Sense/FWU Timing 2 Sleep Mode Cyclic Sense/FWU Timing 3 Sleep Mode Cyclic Sense/FWU Timing 4 Sleep Mode Cyclic Sense/FWU Timing 5 Sleep Mode Cyclic Sense/FWU Timing 6 Sleep Mode Cyclic Sense/FWU Timing 7 Sleep Mode Cyclic Sense/FWU Timing 8 Sleep Mode Ground Shift Threshold 1
(11)
.
CAN Transceiver Active in Two Wire Operation Ground Shift Threshold 2 (11) CAN Transceiver Active in Two Wire Operation Ground Shift Threshold 3 (11) CAN Transceiver Active in Two Wire Operation Ground Shift Threshold 4 (11) CAN Transceiver Active in Two Wire Operation BUS TRANSMITTER AC Minimum Dominant Time for Wake-Up on CANL or CANH Bus Stand-by Mode, VBAT = 12 V AC Failure 3 Detection Time Bus Normal Mode AC Failure 3 Recovery Time Bus Normal Mode AC Failure 6 Detection Time Bus Normal Mode AC Failure 6 Recovery Time Bus Normal Mode AC Failure 4, 7, and 8 Detection Time Bus Normal Mode Notes 10. Cyclic sense and forced wake-up timing accuracy are based on the Sleep mode oscillator tolerance. 11. No overlap between two adjacent thresholds. tAC478D 0.75 -- 4.0 ms tAC6R 150 -- 1000 s tAC6D 50 -- 400 s tAC3R 10 -- 60 s tAC3D 10 -- 60 s tWAKE 4.0 -- 40 s GS4 -2.6 -2.2 -1.7 V GS3 -2.0 -1.7 -1.3 V GS2 -1.5 -1.2 -0.8 V
33389
14
Analog Integrated Circuit Device Data Freescale Semiconductor
ELECTRICAL CHARACTERISTICS DYNAMIC ELECTRICAL CHARACTERISTICS
Table 5. Dynamic Electrical Characteristics (continued) Characteristics noted under conditions 7.0 V VSUP 18 V, - 40C TA 125C, GND = 0 V unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25C under nominal conditions unless otherwise noted.
Characteristic BUS TRANSMITTER (CONTINUED) AC Failure 4, 7, and 8 Recovery Time Bus Normal Mode AC Failure 3, 4, and 7 Detection Time Bus Stand-by Mode, VBAT = 12 V AC Failure 3, 4 and 7 Recovery Time Bus Stand-by Mode, VBAT = 12 V AC Edge Count Difference Between CANH/CANL for Failures 1, 2, 5 Detection Bus Normal Mode AC Edge Count Difference Between CANH/CANL for Failures 1, 2, 5 Recovery Bus Normal Mode TX Permanent Dominant Timer Disable Time Bus Normal and Failure Modes POWER INPUT TIMING V1 Reset Delay Time V1 Line Regulation 9.0 V < VBAT < 16.5, ILOAD = 10 mA V1 Line Regulation 5.5 V < VBAT < 27 V ILOAD = 10 mA V1 Load Regulation 1.0 mA < ILOAD < 100 mA V1 Line Ripple Rejection 100 Hz, 1.0 VPP on VBAT = 12 V, ILOAD = 100 mA (12) V1 Line Transient Response VBAT from 12 V to 40 V in 1.0 s, (10 F, ESR = 3 ) V1 Load Transient Response ILOAD from 10 A to 100 mA in 1.0 s (CLOAD = 10 F, ESR = 3 ) (13) V1 Load Transient Response ILOAD from 10 A to 100 mA in 1.0 s (CLOAD = 10 F, ESR= 0.1 ) Notes 12. Guaranteed by design. Not production tested. 13. This condition does not produce a reset tTXD 0.75 -- 4.0 ms CAN125R -- 3.0 -- -- CAN125D -- 3.0 -- -- tAC347R -- 2.5 -- ms tAC347D 0.8 -- 8.0 ms tAC478R 10 -- 60 s Symbol Min Typ Max Unit
tD tD tD tD tD tD tD tD
2.0 -15
-- 2.0
20 +15
s mV
-50
10
+50
mV
-50
--
+50
mV
30
55
--
dB
--
27
--
mV
--
400
--
mV
--
16
--
mV
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
15
ELECTRICAL CHARACTERISTICS TIMING DIAGRAMS
TIMING DIAGRAMS
CS
tLEAD
tWSCLKH
tR
tF
tLAG
SCLK
tWSCLKL tSISU tSI(HOLD)
SI
Don't Care
Valid
Don't Care
Valid
Don't Care
Figure 4. Input Timing Switch Characteristics
33389
16
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DESCRIPTION INTRODUCTION
FUNCTIONAL DESCRIPTION
INTRODUCTION
The System Basis Chip (SBC) is an integrated circuit dedicated to car body applications. It includes three main blocks: 1. A dual voltage regulator 2. Reset, watchdog, wake-up inputs, cyclic wake-up 3. CAN low speed fault tolerant physical interface Supplies Two low drop regulators and one switch to VBAT are provided to supply the ECU microcontroller or peripherals, with independent control and monitoring through SPI.
FUNCTIONAL PIN DESCRIPTION TRANSMIT AND RECEIVE DATA (TX AND RX)
The RX and TX pins (receive data and transmit data pins, respectively) are connected to a microcontroller's CAN protocol handler. TX is an input and controls the CANH and CANL line state (dominant when TX is LOW, recessive when TX is HIGH). RX is an output and reports the bus state.
MASTER OUT/ SLAVE IN (MOSI)
MOSI is the Master Out Slave In pin of the serial peripheral interface. Control data from a microcontroller is received through this pin.
SYSTEM CLOCK (SCLK)
This pin clocks the internal shift registers for SPI communication.
VOLTAGE REGULATOR ONE AND TWO (V1 AND V2)
The V1 pin is a 3% low drop voltage regulator dedicated to the microcontroller supply (nominal 5V supply). The V2 pin is a low drop voltage regulator dedicated to the peripherals supply (nominal 5V supply).
CHIP SELECT (CS)
CS is the Chip Select pin of the serial peripheral interface (SPI). When this pin is LOW, the SPI port of the device is selected.
RESET (RST)
The RST (reset) pin is an input/output pin. The typical reset duration from SBC to microcontroller is 1ms. If longer times are required, an external capacitor can be used. SBC provides two RST output pull-up currents. A typical 30A pull up when Vreset is below 2.5V and a 300uA pull up when reset voltage is higher than 2.5V. RST is also an input for the SBC. It means the MC33389 is forced to Normal Request mode after RST is released by the microcontroller
LEVEL 0-2 INPUTS (L0: L2)
The L0: L2 pins can be connected to contact switches or the output of other ICs for external inputs. The input states can be read by the SPI. These inputs can be used as wakeup events for the SBC.
NO CONNECT (NC)
No pin connection.
INTERRUPT (INT)
The Interrupt pin INT is an output that is set LOW when an interrupt occurs. INT is enabled using the Interrupt Register (INTR). When an interrupt occurs, INT stays LOW until the interrupt source is cleared. INT output also reports a wake-up event.
TERMINATION RESISTANCE (HIGH AND LOW?) (RTH AND RTL)
External CAN bus high and low termination resistance pins are connected to these pins.
CAN HIGH AND CAN LOW OUTPUTS (CANH AND CANL)
The CAN High and CAN Low pins are the interfaces to the CAN bus lines. They are controlled by TX input level, and the state of CANH and CANL is reported through RX output.
GROUND (GND)
This pin is the ground of the integrated circuit.
MASTER IN/ SLAVE OUT (MISO)
MISO is the Master In Slave Out pin of the serial peripheral interface. Data is sent from the SBC to the microcontroller through the MISO pin.
VOLTAGE BATTERY (VBAT)
This pin is the voltage supply from the battery.
VOLTAGE REGULATOR THREE (V3)
This pin is a 10 switch to VBAT, which is used to supply external contacts or relays.
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
17
FUNCTIONAL DEVICE OPERATION
FUNCTIONAL DEVICE OPERATION
Voltage Regulator V1 V1 is a 5.0 V, three percent low drop voltage regulator dedicated to the microcontroller supply. It can deliver up to 100 mA. It is totally protected against short-to-ground (current limitation) and over temperature. V1 is active in Normal Request, Normal, and Stand-by modes. No forward parasitic diode exists from V1 to VBAT. This means if VBAT voltage drops below V1, high current flowing from V1 to VBAT will not discharge the capacitor connected to V1. Its stored energy will only be used to supply the microcontroller and gives time to save all relevant data. * Under Voltage Reset--V1 is monitored for under voltage (power-up, power down) and a reset is provided at RST output for 1 ms. This ensures proper initialization of the microcontroller at power-on or after supply is lost. Furthermore, a flag is set in the Reset Source Register (RSR) and can be read via the SPI. * Over Temperature Protection--V1 internal ballast transistor is monitored for over temperature. Two detection thresholds are provided. A pre-warning threshold at 145C and a shut-off threshold at 175C. Once the first threshold is reached, a flag is set in the Over Temperature Status Register (OTSR). A maskable interrupt can be sent to the microcontroller. Once the second threshold is reached, a flag is set in the OTSR, a maskable interrupt is sent to the microcontroller and V1 is switched OFF. Once the junction temperature is back to the pre-warning threshold, V1 regulator will be automatically switched ON.
Voltage Regulator V2 V2 is a 5.0 V low drop voltage regulator dedicated to peripherals supply. It can deliver up to 200 mA and is protected against short to ground (current limitation) and over temperature. V2 is active in Normal mode. * Under Voltage Detection--V2 is monitored for under voltage and a flag is set in the Voltage Supply Status Register (VSSR). * Over Temperature Protection--V2 internal ballast transistor is monitored for overtemperature. Two detection thresholds are provided. A pre-warning threshold at 140C and a shut-off threshold at 165C. Once the first threshold is reached, a flag is set in the readable OTSR register. A maskable interrupt can be sent to microcontroller. Once the second threshold is reached, a flag is set in the OTSR register, V2 is switched OFF. It can only be switched on again via the SPI. Table 7. V2 Control
Conditions for V2 ON Normal Mode (via SPI) and V2 Below Shut-Off Temperature Threshold -- Conditions for V2 OFF Sleep, Stand-by, Normal Request, or Emergency Modes (via SPI) Shut-Off Temperature Threshold Reached V1 Disabled (for any reason)
--
Switch V3 V3 is a 10 switch to VBAT. It can be used to supply external contacts or relays. A great flexibility is given for the different possible ways for its control. It is protected against short to ground (current limitation). * Over Temperature Protection--V3 output transistor is monitored for over temperature. Once the threshold is reached, a flag is set in the VSSR register, V3 is switched OFF. It will be automatically switched ON once the junction temperature is back to the pre-warning threshold. Table 8. V3 Control
Conditions For V3 ON Permanently in Normal Mode if Configured via SPI -- Permanently in Stand-by Mode if Configured via SPI In Sleep Mode, During Enable Time of Cyclic Sense if Configured -- Conditions For V3 OFF Permanently in Normal Mode if Configured Normal Request Mode Permanently in Stand-by Mode if Configured Permanently in Sleep Mode if Configured
Table 6. V1 Control
Conditions for V1 ON Normal Request Mode (at V1 Power ON) Normal Mode (via SPI) Conditions for V1 OFF Sleep Mode (via SPI)
Shut-Off Temperature Threshold Reached No VBAT Power Supply (cold start) Emergency Mode
Stand-by Mode (via SPI)
V1 Below Pre-Warning Temperature Threshold During Rest
Note: Current capability of V1, V2 and V3 depends upon the thermal management. Over temperature shutdown might be reached and lead to turn OFF of V1, V2, and V3 for output current below their maximum current capability.
33389
18
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
Table 8. V3 Control
-- -- -- -- In Sleep Mode, During Disable Time of Cyclic Sense if Configured Over Temp Threshold Reached V1 Disabled (for any reason) V2 Over Temperature Shutdown
CANH, RTL,RTH, RX, and TX pins are identical to the 33388, stand alone CAN physical interface. The mode control for the CAN transceiver (Normal, VBAT Stand-by, Sleep, etc.) are selectable through the 33389 SPI interface. * Baud Rate up to 125 kBit/s * Supports unshielded bus wires * Short-circuit proof to battery and ground in 12 V powered systems * Supports single-wire transmission modes with ground offset voltages up to 1.5 V * Automatic switching to single wire mode in case of bus failures * Automatic reset to differential mode if bus failure is removed * Low Electromagnetic Interference (EMI) due to built-in slope control and signal symmetry * Fully integrated receiver filters * Thermally protected * Bus lines protected against automotive transients * Low current Bus Stand-by mode with wake-up capability via the bus * An unpowered node does not disturb the bus lines
Supply and VBAT Block * VBAT Monitoring--VBAT is the main power supply coming from the battery voltage after an external protection diode (for reverse battery). VBAT is monitored for under voltage and over voltage. * VBAT Under Voltage--VBAT is monitored for under voltage if it is below 4.0 V the BatFail flag is set in the VSSR register and a maskable interrupt is sent to the microcontroller. * VBAT Over Voltage-- When VBAT is > 20 V, the BatHigh flag is set in the VSSR register. A maskable interrupt is sent to the microcontroller. No specific action is taken to reduce current consumption (to limit power dissipation). This is to allow the entire flexibility to the microcontroller for a decision. CAN Transceiver The device incorporates a low speed 125 kBaud CAN physical interface. Its electrical parameters for the CANL,
VDD2 VDD2 VBAT
VDD BAT
TX
Transmitter
Protection
Drivers
CAN_H CAN_L
RX
Receiver - Fail Detect - Receive Mode
12.5k Termination RTL RTH S2 S3
RTL CANH CANL RTH
CAN Transceiver Register CAN transceiver simplified block diagram
SPI S1
Figure 5. CAN Simplified Block Diagram
CONSEQUENCE OF FAILURE DETECTIONS
S1 is the switch from RTH to Ground S2 is the switch from RTL to V2 and S3 is the switch from RTL to VBAT Each failure type provides data concerning which switch is open and which driver is disabled. Failure 1: Nothing done Failure 2: Nothing done Failure3: S1 open. Driver CANH is disabled
Failure4: S2 and S3 open. Driver CANL is disabled Failure5: Nothing done Failure6: S2 and S3 open. Driver CANL disabled Failure7: S2 and S3 open. Driver CANL disabled Failure8: S1 Open. CANH driver disable CAN Transceiver Description The CAN transceiver is an interface between CAN protocol controller and the physical bus. It is intended for low
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
19
FUNCTIONAL DEVICE OPERATION
speed applications up to 125 kBit/s in passenger cars. It provides differential transmission capability, but will switch in error condition to single wire transmitter and/or receiver. The rise and fall slopes are limited to reduce radio frequency interference (RFI). This provides use of an unshielded twisted pair or a parallel pair of wires for the bus. It supports transmission capability on either bus wire if one of the bus wire is corrupted. The logic failure detection automatically selects a suitable transmission mode. In a normal operation (no wiring failures), the differential bus state is the output to RX. The differential receiver inputs are connected to CANH and CANL through integrated filters. The filtered inputs signals are also used for the single wire receivers. The CANH and CANL receivers have threshold voltages, assuring maximum noise margin in single wire modes. In the RX Only mode, the transmitter is disabled; however, the receive part of the transceiver remains active. In this mode, RX reports bus and TX activity (RX = TX or Bus dominant). Failure detection and management is the same as the Bus Normal mode. Failure Detector The failure detector is active in RXTX and RX Only operation modes. The detector recognizes the following single bus failures and switches to an appropriate mode. 1. CANH wire interrupted 2. CANL wire interrupted or shorted to 5.0 V 3. CANH short-circuit to battery 4. CANL short-circuit to ground 5. CANH short-circuit to ground 6. CANL short-circuit to battery 7. CANL mutually shorted to CANH 8. CANH to V2 (5.0 V)
Note: Shorts-circuit failures are detected for 0 to 50 shorts.
mode through CANH. When Failures 4 or 7 are removed, the recessive bus levels are restored. If the differential voltage remains below the recessive threshold for a certain (TAC478R) time, reception and transmission switch back to the Differential mode. If any of the eight wiring failure occurs, a flag is set in the TESRH and TESRL Status registers. Eight different types of errors are distinguished out of these eight errors. They are separately stored in these register. Please refer to the Tables 35 and 36. A maskable interrupt is sent to the microcontroller. On error recovery, the corresponding flag is reset after read-out operation. During all single wire transmissions, the EMC performance (both immunity and emission) is worse than in the Differential mode. Integrated receiver filters suppress any high frequency noise induced into the bus wires. The cut-off frequency of these filters is a compromise between propagation delay and high frequency suppression. In the Single Wire mode, low frequency noise can not be distinguished from the expected signal. In the event of a permanent dominant TX state (for more than 2.0 ms) the output drivers are disabled. That assures the operation of the complete system in case of a permanent dominant TX state of one control unit. The CAN interface of a defective ECU, which has TX permanently low, will automatically be set to the receive only mode and therefore will not lock the complete CAN bus. Protection A current limiting circuit protects the transmitter output stages against short-circuit to positive and negative battery voltage. If the junction temperature exceeds a maximum value, the transmitter output stages are disabled. Because the transmitter is responsible for a part of the power dissipation, this results in a reduced power dissipation resulting in a lower chip temperature. All other parts of the transceiver will remain operating. The CANH and CANL inputs are protected against electrical transients, and may occur in an automotive environment. Thermal Management The 33389 is proposed in two different packages: 1. HSOP-20 for high power applications 2. SO28WB with eight pins to the lead frame for medium power applications HSOP20 Package For such a package, the heat flow is mainly vertical and each heat source (dissipating element) can be seen as an independent thermal resistance to the Heatsink. The thermal network can be roughly depicted in Figure 6.
The differential receiver (CANH-CANL) threshold is set at -2.8 V, this assures a proper reception in the normal operating modes. In case of failures 1, 2, and 5 the on-going message is not destroyed due to noise margin. Failures 3 and 6 are detected by comparators respectively connected to CANH and CANL. If the comparator threshold is exceeded for a certain time (TAC3D, TAC6D), the reception is switched to single wire mode. This time is required to avoid false triggering by external RF fields. Recovery from these failures is detected automatically after a certain (TAC3R, TAC6R) time-out (filtering). Failures 4 and 7 initially result in a permanent dominant level at RX. After a time-out, the CANL driver and the RTL pins are switched OFF. Only a weak pull-up at CANL remains. Reception continues by switching to Single Wire
33389
20
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
V1 Power
V2 Power
CAN Power
Total Power
TJ (Max 155C)
TJ (Max 155C)
RTHJ/C=18C/W 9C/W 6.5C/W
RTHJ/C = 20C/W
T case (Heatsink)
RTHC/A (ECU supplier dependent)
TCASE (pin)
T ambient
RTHC/A
Figure 6. HSOP-20 Simplified Thermal Model
Example
Assuming IV1 = 100 mA at VBAT = 16 V, IV2 =150 mA at VBAT = 16 V (Excluding CAN consumption). ICAN = 50 mA at VBAT =16 V, we have: PV1 = 1. 1 W, PV2 = 1.65 W, PCAN = 0.55 W System assumptions: If TAMB= 85C and RTHC/A = 18C/W, this gives: TCASE = TAMB+RTHC/A x 3.3 W = 85 + 18 x 3.3 = 145C and TJV1 = TJV2 = TJCAN=155C. This example represents the limit for the maximum power dissipation with a HSOP20. SO28WB Package The case (pin) to junction RTH is represented here by only one thermal resistance for the total power because the three power sources strongly interact on the silicon for such a package.
TAMBIENT
Figure 7. SO28WB Simplified Thermal Model
Example
Assuming IV1 = 45 mA at VBAT = 16 V, IV2 = 45 mA at VBAT = 16 V (Excluding CAN consumption). ICAN = 50 mA at VBAT = 16 V, we have: PV1 = 0.5 W, PV2 =0.5 W, PCAN =0.55 W thus PTOTAL =1.55W System assumptions: If TAMB = 85C and RTHC/A = 25C/W, this gives: TCASE = TAMB + RTHC/A x 1.55 W = 85+25 x 1.55 = 124C and TJV1 = 124 + 20 x 1.55 = 155C.
DIFFERENT DEVICE VERSIONS
The MC33389 is proposed in several package versions, and also offers slight differences in term of functionalities. The device version is identified in the device part number by the first letter after the 389 number. The package identification is done by the last two letters of the part number (DW for SO28 wide body, DH for power SO20).
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
21
FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES
OPERATIONAL MODES
CAN Transceiver Modes The CAN transceiver has its own functioning modes: RXTX mode, Term VBAT/Term VCC mode, and RX Only mode. They are controlled by the Transceiver Control/Status Register (TCR). * RXTX mode--Full transmitting and receiving capabilities are enabled. Full failure detection is enabled. Note: Standard/RXTX and Extended/RXTX are equivalent. * RX Only mode--The transmitter is disabled but the receive portion of the transceiver remains active. In this mode, RX reports bus and TX activity (RX = TX or Bus dominant). Note: Standard/RX Only and Extended/RX Only are equivalent. * Bus Stand-by mode--Is the Low Power mode for the CAN transceiver. The driver and receivers are disabled. Wakeup capability on both bus lines as well as Failure 3, 4, 7, and 8 detection are enabled. RTL termination is set to VBAT in the Bus Stand-by mode. Low Power Modes The transceiver provides a Low Power mode, entered and exited by a SPI command. This is the Bus Stand-by mode having the lowest power consumption for the transceiver. CANL is biased to the battery voltage via the RTL output and the pull-up current source on CANL and pull down current source on CANH are disabled. Wake-up requests are recognized by the transceiver when a dominant state is detected on either bus wake-up lines. On a Bus wake-up request, the SBC will activate the INT output or, if it is in the Sleep mode, switch to the Normal Request mode. This event is stored in the Wake-Up Input Status Register (WUISR). To prevent a false wake-up resulting from transients or (RF) fields, wake-up threshold levels have to be maintained for a certain time. While in the Transceiver Low Power mode, failure detection circuit remains partly active preventing increased power consumption in cases of error 3, 4, 7, and 8. Power-On After the VBAT supply is switched ON, the SBC is in Normal Request mode. Bus Stand-by is the corresponding mode for the CAN transceiver. The CAN transceiver is supplied by V2. As long as V2 is below its under voltage threshold, the transceiver is forced to Bus Stand-by mode (fail safe property). consumption when the full activity is not required. Several possibilities are provided to wake-up the ECU. This permits peripherals or the microcontroller to be switched OFF when no activity on the ECU is required. Two switchable independent supply voltages (V1 and V2) are provided for optimum ECU power management. Generalities The SBC can be operated in four modes: 1. Sleep 2. Stand-by 3. Normal 4. Emergency After reset, the 33389 is automatically initialized to the temporary mode, Normal Request, while waiting for microcontroller configuration. Reset Mode This mode is entered after SBC power-up, or if an incorrect software watchdog trigger occurs. The minimum duration for reset mode is 1.0 ms typical, and unless there is a V1 failure condition, the SBC enters the Normal Request mode after reset. In the case of a V1 failure condition leading to V1 low (ex: short to ground), the SBC switches to the Reset mode. If V1 is still below the reset threshold after 100 ms, the behavior depends upon the device version A or C: * C version: The 33389CDW and the 33389CDH will remain in the reset mode. * D version: The 33389DDW and the 33389DEG will remain in the reset mode. Note that the reset mode threshold for the D version is slightly higher than the C version. Normal Request Mode The Normal Request mode is the Default mode after 33389 reset. V1 is active, while V2 and V3 are passive. The SBC is not configured. The default values are set in the registers. The SBC awaits data configuration via the SPI. If no SPI data is received 75 ms after the Reset is released, the SBC switches itself into the Sleep mode. The software timing word (in SWCR) provides the data the SBC must receive to consider when the microcontroller begins the configuration sequence. Once received, this software timing word, and the watchdog timer, become active. Any other control data can then be sent from the microcontroller to SBC. The watchdog is not active in the Normal Request mode before the software timing word is programmed into the SBC. In this mode, neither V2 nor the CAN transmitter are active.
SBC MODES
Global Power Save Concept The SBC minimizes power consumption of the ECU. Several operating modes are available to go to low power
33389
22
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES
Table 9. Normal Request: V1 Active and V2/V3 Passive
Entering Normal Request Leaving Normal Request When First Receiving the SW Timing Word, SBC goes to Normal If Time-out Without Receiving SPI Commands (75ms), SBC goes to Seep
Table 11. Stand-by: V1 Active, V2 Passive, V3 Active or Passive, Watchdog is Active
Entering Stand-by -- Leaving Stand-by V1 Under Voltage Detection, Going to Normal Request Mode After Activating Reset External Activation of the RST Pin
SBC Reset Just Released
--
--
S Bus Circuit Sleep Mode SBC Normal Mode In this mode, V1 and V2 are active, V3 can be set active or passive via the SPI. Therefore, the whole ECU can be operated. Normal mode is entered by a SWCR configuration in the Normal Request mode. Table 10. SBC Normal Mode: V1/V2 Active While V3 is Active or Passive
Entering Normal Mode By SPI command After SWCR register configuration in Normal Request mode Leaving Normal Mode By SPI command, going to any other mode Watchdog time-out, going to Normal Request after activating Reset V1 undervoltage detection, going to Normal Request mode after activating Reset
This is a low power consumption mode. V1 and V2 are disabled. V3 can be permanently disabled or cyclically active. Table 12. SBC Sleep Mode: V1/V2 are Passive, V3 is Passive or Cyclic
Entering Sleep Mode If SW Timing Not Configured 75 ms After Entering Normal Request Mode By SPI Command For 33389ADW Only: If V1 is Below V1 Reset for More Than 100 ms -- Leaving Sleep Mode CAN Wake-Up, Going to Normal Request If a Wake-Up is Detected with Cyclic Sense If a Wake-Up is Detected with Wake-Up Not Connected to V3 (permanent sense) Forced Wake-Up (See Forced Wake-Up Section) SPI Wake-Up (See Wake-Up by SPI Section)
--
--
SBC Stand-by Mode In this mode V1 is active and V2 is passive. V3 can be either permanently active or permanently passive. This is a low power mode with V1 active in order to have a fast reaction time in case of any wake-up. For Stand-by mode, the S Bus Circuit (SBC) monitors the software. It means the microcontroller runs, is monitored, and must serve as a watchdog trigger. Table 11. Stand-by: V1 Active, V2 Passive, V3 Active or Passive, Watchdog is Active
Entering Stand-by -- Leaving Stand-by If SW Timeout Going to Normal Request After Microcontroller Reset By SPI Command Going to any Other Mode
Emergency Mode In case the microcontroller detects the ECU or the system is no longer under control, it may decide to switch the SBC to the Emergency mode. V1, V2, and V3 become passive and wake-ups are not detected. The only way to leave this mode is to disconnect the ECU from the battery voltage (BatFail detection).
Table 13. SBC Emergency Mode: V1:V3 are Passive
Entering Emergency Mode By SPI Command Leaving Emergency Mode SBC BatFail Detection (Disconnection of the Battery Voltage)
By SPI Command
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
23
FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES
SPI SW timing configuration at t<75ms V1 low ECU connected to battery Reset V1 on Normal (reset Request ) released No SPI SW timing configuration at t=75ms
Normal
SPI go to Emergency at t<75ms Emergency
The window watchdog timing is derived from the SBC clock. The desired watchdog timing must be first transmitted during the SBC configuration, in the Normal Request mode, via SPI to SWCR. It can also be changed later on. Selectable watchdog timings are 5.0 ms, 10 ms, 20 ms, 33 ms, 50 ms, 75 ms, 100 ms and 200 ms. These timings correspond to the full disable window plus full enable window.
Earliest Trigger Time Sleep Watchdog Trigger 50% 50% Latest Trigger Time Enable Window Latest Reset Time
Figure 8. Typical Behavior at Power-On Note: In the Normal Request mode, if a SPI command is received before the software timing configuration (SWCR register), it will not be taken into account by the SBC (except for the go-to Emergency mode). Correspondence Between SBC and CAN Transceiver Modes Table 14 provides different possible CAN transceiver modes versus SBC modes. Table 14. CAN Modes vs. SBC Modes
When SBC Is In The Following Mode Reset Condition Normal Request Normal Stand-by Sleep Emergency Normal and V2 OFF (over load) In case V2 is turned OFF either by SPI command (Stand-by mode) or by the SBC itself due to V2 over load condition (V2 short to ground or V2 over temperature) the CAN is automatically set into the Bus Stand-by mode and does not return to TXRX mode automatically when V2 is back to 5.0 V. The CAN must be re configured to TXRX or RX Only mode after a V2 turn OFF CAN Transceiver Can Be In Bus Stand-by Mode Bus Stand-by Mode RXTX or RXOnly or BusStand-by Bus Stand-by Bus Stand-by Bus Stand-by
SBC Watchdog Window Disabled Window Nom. Trigger Period Watchdog Timing SBC-Reset OUT Time Out
Figure 9. Window Watchdog Timing As soon as the watchdog trigger is received in the Enable Window, the internal counter is reset and begins a new disable window. The SBC triggers the watchdog word at CS low-to-high transition. Any watchdog trigger outside the Enable Window leads to an SBC reset. * Normal and Stand-by Modes-- The SBC get the watchdog word from the microcontroller via SPI in the Normal mode. In case of a trigger time failure (no trigger or trigger outside the Enable Window) the SBC reset is switched to active. * Normal Request, Sleep, and Emergency Mode-- Watchdog is not active in these modes.
WAKE-UP CAPABILITIES
Several wake-up capabilities are available. Forced Wake-Up The forced wake-up is enabled and disabled by SPI in the V3 register. It is used to automatically wake-up the system by supplying V1 with proper reset in the Sleep mode. This corresponds to jump into the Normal Request mode. If the SBC is not properly configured within 75 ms, it switches back to the Sleep mode until the next wake-up. If both Cyclic Sense and Forced Wake-Up are enabled by the SPI while in the Sleep mode, only Cyclic Sense is active. The period of Forced Wake-Up are 32 ms, 64 ms, 128 ms, 256 ms, 512 ms, 1024 ms, 2048 ms, and 8192 ms chosen by SPI in the Cyclic Timing Control Register (CYTCR). Wake-Up Inputs (Local Wake-Up)/Cyclic Sense
Bus Stand-by
Watchdog The software window watchdog function monitors the microcontroller operation in the Normal and Stand-by modes.
SBC provides three wake-up inputs to monitor external events such as closing/opening of switches. The wake-up feature is available in Normal, Stand-by, and Sleep modes.
33389
24
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES
The switches can be directly connected to VBAT or to V3. The SBC must be properly configured by setting the bit WI2V3 in the V3 register. In this case, wake-ups are only detected when V3 is ON. It can take advantage of the V3 Cyclic Sense feature. If both Cyclic Sense and Forced Wake-Up are enabled by the SPI in the Sleep mode, only Cyclic Sense will be active. Options for Wake Input Different conditions for wake-up can be chosen for wakeup input pins (via SPI in the Wake-Up Input Control Register (WUICR). * No Wake-Up-- Wake-ups are not detected whatever occurs on wake-up inputs. * High-State--If the input pin voltage is above the detection threshold during more than a 20 s filter time, a wake-up is detected. A flag is set in the WUISR. * Low-State--If the input pin voltage is below the detection threshold during more than a 20 s filter time, a wake-up is detected. A flag is set in the WUISR. * Change of state--Each change of the wake-up input pin is considered as a wake-up if it lasts more than a 20s filter time. The first reference state (no wake-up) is the wake-up input state when the SBC is programmed to this option. A flag is set in the WUISR. * Multiple Sampling Events--When wake-up inputs are used with V3 in Cyclic Sense in the Sleep mode. For positive edge sensitivity, two samples Low followed by two samples High are necessary to validate the wake-up condition.
For negative edge sensitivity, two samples High followed by two samples Low are necessary to validate the wake-up condition. For both edge sensitivity, two samples at a given state followed by two samples in the opposite state are necessary to validate the wake-up condition. Wake-Up Inputs with Cyclic Sense Connecting the external switches to V3 allows power saving because V3 can be programmed to be active, passive, or cyclic (Cyclic Sense). This provides great flexibility reducing total power consumption while allowing full wake-up capabilities. Cyclic Sense is available only in the Sleep mode. The period of the Cyclic Sense can be chosen out of eight different timings: 32 ms, 64 ms, 128 ms, 256 ms, 512 ms, 1024 ms, 2048 ms, and 8192 ms programmable via SPI in the CYTCR register. Once activated, V3 remains ON during 400 s. The wake-up inputs states are sampled at 300 s.
Wake-Up Inputs Sample Point Active V3 Passive 300 s 400 s Cyclic Sense Programmable Period
Figure 10. V3 Timing Note: In Sleep mode, the Cyclic Sense feature `EXCLUSIVE OR' the forced Wake-Up is chosen (not both).
Cyclic Sense connected to wake-up inputs. Example: with wake-up input L1 sensitivity to Low state and timing = 80 ms
V3 Wake-Up Switch Status
OPEN
CLOSED Sample Point (80%)
V(L1) Setup 300 s Read L1 Read 400s INT 0 (t0)
1 1 1 0 1 1
80 ms (t1)
0 0 0
160 ms Actual State (read) Memory State INT (Wake-Up Active = 0)
Figure 11. Cyclic Sense Timing Wake-Up Inputs with Permanent Sense Wake-up detection can also be accomplished in a permanent way in Normal and Stand-by modes. If the contacts are connected to V3, wake-ups are only detected if V3 is ON. Wake-ups are also detected in a permanent way in the Sleep mode if the contacts are directly connected to VBAT (if they are connected to V3, only Cyclic Sense is available in Sleep mode).
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
25
FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES
Local Wake-Up Consequences In Normal or Stand-by modes, the real time state of each wake-up input pin is stored in the readable Wake-Up Input Control Register (WUIRTI). Wake-ups are detected according to the selected option. A flag is set in the WUISR. A maskable interrupt is then sent via INT output. In the Sleep mode, a local wake-up leads to a jump to Normal Request mode (via proper reset of the microcontroller). A flag is set in the WUISR. Table 15. SBC Mode vs. Local Wake-Up Behavior
SBC Modes Normal Request Local Wake-Up Behaviour No Detection Detection Active According to the Option. The Event is Stored in WUISR. The SBC may Activate INT Output. Real Time State of Each Wake-Up Input Pin Available in WUIRTI Register Detection Active According to the Option. The Event is Stored in WUISR. The SBC Switches to Normal Request Mode No Detection
* * * * *
Pre-warning temperature on V1 or V2 CAN bus failure SPI error Local wake-up (can be used for low battery detection) Bus wake-up All these interrupts are maskable. Please see the SPI Registers Descriptions on page 34. Reset Input/Output The Reset (RST) pin is an input/output pin. The typical reset duration from SBC to microcontroller is 1 ms. If extended times are required, an external capacitor can be used. SBC provides two RST output pull-up currents. A typical 30 A pull up when Vreset is below 2.5 V and a 300 A pull up when reset voltage is higher than 2.5 V. RST is also an input for the SBC. It means the 33389 is forced to the Normal Request mode after RST is released by the microcontroller.
Normal and Stand-by
Sleep Emergency
GROUND SHIFT DETECTION
When normally working in a two-wire operating mode, the CAN transmission can afford some ground shift between different nodes without trouble. Nevertheless, in case of bus failure, the transceiver switches to single-wire operation, therefore working with less noise margin. The affordable ground shift is decreased in this case. The SBC is provided with a ground shift detection for diagnosis purpose. Four ground shift levels (GSL) are selectable and the detection is stored in the GSL register, accessible via the SPI. Detection Principle The ground shift to detect is selected via the SPI from four different values (-0.7 V, -1.2 V, -1.7 V, -2.2 V). The CANH voltage is sensed at each TX falling edge (end of recessive state). If it is detected to be below the selected ground shift threshold, the bit SHIFT is set at one in the GSL register. No filter is implemented. Required filtering for reliable detection should be achieved by software (e.g. several trials).
Wake-Up By SPI In some applications, the microcontroller might be supplied by an external VDD, remaining powered in SBC Sleep mode. In this case, a feature is provided making possible to wake-up the SBC by SPI activity. After V1 is totally switched OFF in the Sleep mode (V1< 1.5 V), if a falling edge occurs on CS (crossing 2.5 V threshold), a wake-up by SPI is detected, the SBC switches to the Normal Request mode. A flag is set in ISR2. Interrupt Output The INT output may be activated in the following cases: * VBAT overvoltage (BatHigh) * VBAT undervoltage (BatFail) * High temperature on V1 or V2
V1 & V2 Regulators, V3 Switch V1: ON (Unless Failure Condition) V2: OFF V3:OFF Normal Request V1: ON (75 ms Timeout) V2: OFF V3: OFF -- High Wake-Up Capabilities (if enabled) --
Figure 12. SBC Operation Mode
Mode Reset State Reset Pin (RST) Low (Duration 1 ms) Interrupt Pin INT -- Software Watchdog -- CAN Cell Term VBAT
--
--
Term VBAT
(Active Low -go to Reset State if V1 Under Voltage Occurs)
33389
26
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES
Mode Normal
V1 & V2 Regulators, V3 Switch V1: ON V2: ON V3: ON/OFF
Wake-Up Capabilities (if enabled) --
Reset Pin (RST)
Interrupt Pin INT
Software Watchdog Running
CAN Cell Tx/Rx, or Rx Only, or Term VBAT
High If Enabled, Signal (Active Low -go to Failure Condition Reset State if W/D or L0, L1, L2 Inputs State Change or V1 Under Voltage Occurs)
Stand-by
V1: ON V2: OFF V3: ON/OFF V1: OFF V2: OFF V3: OFF/Cyclic * * * * * CAN SPI
--
Same as Normal Mode Low
Same as Normal Mode Not Active
Running
Term VBAT
Sleep
Not Running
Term VBAT + WakeUp Capability
L0,L1,L2 Cyclic Sense Forced WakeUp None Low Not Active Not Running Term VBAT
Emergency
V1: OFF V2: OFF V3: OFF
Power Down
SBC Power-Up
Emergency
SPI: Emergency
W/D: Time-out (4) OR V1Low (1)
Reset Counter (1 ms) Expired AND V1 High (2)
Reset
V1Low (1)
Normal Request
(5 )
Stand-by
SPI: Stand-by (7) SPI: Normal (6) SPI: Emergency
Sl ee SP W g rig :T /D I: er ) (3 p
33389 C Version (9b)
75 ms Timeout Expired
eak W p U ) (8
Sleep
SPI: Sleep (5)
Normal
W/D: Time-out (4) OR V1Low (1)
Figure 13. State Machine
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
27
FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES
1. V1 Low = V1 below reset threshold 2. V1 High = V1 above reset threshold 3. W/D: Trigger = SCWR register write operation during Normal Request mode 4. W/D: Time-out = SWCR register not written before W/D time-out period expired, or W/D written in incorrect time window. In normal request mode time out is 75ms 5. SPI: Sleep = SPI write command to MCR and MCVR registers, data sleep 6. SPI: Normal = SPI write command to MCR and MCVR registers, data normal 7. SPI: Stand-by = SPI write command to MCR and MCVR registers, data stand-by 8. Wake-Up = one of the following events occur: CAN wake-up, Forced wake-up, Cyclic sense wake-up, Direct LX wakeup, or SPI CS wake-up 9. V1Low > 100 ms = V1 below reset threshold for more than 100 ms a. This condition leads to SBC in Sleep mode only for the 33389ADW (SO28 package) b. V1 Low for > 100 ms does not lead to Sleep mode for the 33389CDW (SO28WB package) and for the 33389CDH (HSOP20 package) Figure 14. State Machine Legend
33389
28
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES
Sleep Mode Activation Once in the Sleep mode, the SBC turns the V1 and V2 regulator OFF . Thus the microcontroller can not run any mode. In order to have the microcontroller run again, the SBC should enable and turn ON V1. This is achieved by an SBC wake-up event. Several options are available to wake-up the SBC and the application and have the microcontroller in Run mode. Some wake-ups are selectable; some are always active in Sleep mode: * Wake-up from CAN interface and wake-up from SPI (CS) are always active. * Wake-up from L0,L1, and L2 inputs, with and without cyclic sense and the forced wake-up (FWU) are selectable. The selection must be done while the SBC is in Normal or Stand-by mode, and prior to enter Sleep mode. General Condition to Enter Sleep Mode All previous wake-up conditions must be cleared, assuring the SBC enters the Sleep mode, and Write operations into the MCR and MCVR. To clear a wake-up condition requires reading the appropriate register. Once the SBC has powered-up from zero (battery powerup or cold start), the following registers must be read: * WUICR--possible wake-up event report from CAN bus * RSR--report a V1 under voltage * VSSR--reports a VBAT fail flag Once these read operations are completed, the wake-up conditions, or flags are reset. The VBSR0 bit in the VSSR can be used to determine if the SBC has experienced a loss of battery voltage. Once the SBC is awakened from Sleep mode the following registers indicate the wake-up source. They must be cleared to allow the SBC to enter Sleep mode again: * WUICR--wake-up event report for CAN or SPI buses * WUISR-- wake-up event report for the L0,L1, and L2 inputs * RSR--report a V1 under voltage * VSSR--reports a VBAT fail flag * etc. The ensuing paragraphs describe the write operation to be accomplished for the several Sleep modes and Wake-up control options. In addition to FWU, cyclic sense and direct wake-up, the CAN and SPI wake will always be activated. Sleep Mode with CAN and SPI Wake-Up To enter the Sleep mode and activate the only CAN or SPI wake-up, there is no dedicated wake-up condition to be
completed. The SBC has CAN and SPI wake-up sources always active in the Sleep mode. To enter the Sleep mode in this case, while the SBC is in Normal or Stand-by mode: * Write to V3R--data 0000 (this clears the WI2V3 bit, is set to1after reset) * Write to MCR--data SLEEP (100) * Write to MCVR--data SLEEP (100) The SBC then enters the Sleep mode. Sleep Mode Enter with Forced Wake-Up To enter the Sleep mode and activate the forced wake-up, write to the following registers: * Write to V3R (data 0100) this set the FWU bit to 1 * Write the desired wake-up time to CYTCR. (This sets the time the SBC will stay in the Sleep mode). * Write to MCR-data SLEEP (100) * Write to MCVR- data SLEEP (100) The SBC then enters the Sleep mode. It will wake-up after the time period is selected in the CYTCR. Sleep Mode Enter with Cyclic Sense To enter the Sleep mode and activate the cyclic sense wake-up the following registers must be written: * Write to V3R (data 1010) this sets the VI2V3 and CYS bits to 1 * Write to CYTCR the desired cyclic sense period. (This sets the time the SBC will wait in the Sleep mode to turn on V3 and sense the LX inputs) * Write to WUICR bits 0 and 1 to select the edge sensitivity for the LX inputs * Write to MCR--data SLEEP (100) * Write to MCVR--data SLEEP (100) The SBC then enters the Sleep mode. It will periodically turn on V3 and while V3 is on, sample the level of the Ls inputs. If any of the 3 LX inputs is in the correct state for two consecutive samples, SBC will wake-up. If not, it will stay in the Sleep mode. Refer to device description for detail. Sleep Mode Enter With Direct LX Input Wake-Up To enter the Sleep mode and activate the direct wake-up from the LX inputs, the following registers must be written: * Write to V3R (data 0000) this clear VI2V3 bit * Write to WUICR bits 0 and 1 to select the edge sensitivity for the LX inputs * Write to MCR--data SLEEP (100) * Write to MCVR--data SLEEP (100) The SBC then enters the Sleep mode. It will wake-up as soon as any of the LX input read the correct state.
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
29
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
180 160
TYP SLEEP CURRENT (A)
140 120 100 80 60 40 -50 16 V 12 V 6.0V -25 0 25 50 75 100 125 150 TEMPERATURE (C)
Figure 15. Current vs Temp and Batt Voltage
LOGIC COMMANDS AND REGISTERS
SPI Introduction This SPI system is flexible enough to communicate directly with numerous standard peripherals and MCUs available from Motorola and other semiconductor manufacturers. SPI reduces the number of pins necessary for input/output on the 33389. The SPI system of communication consists of the MCU transmitting, and in return, receiving one data bit of information per clock cycle. Data bits of information are simultaneously transmitted by one pin, Microcontroller Out Serial In (MOSI), and received by another pin, Microcontroller In Serial Out (MISO), of the MCU. Figure 16 illustrates the basic SPI configuration between an MCU and one 33389. The SPI serial operation is guaranteed to 2.0 MHz. MCU to the MC33389 and vice versa. Clocked-in data from the MCU is transferred from the MC33389 shift register and latched into the addressed registers on the rising edge of the CS signal if the read/write bit is set and the parity check was successful. The CS pin controls the output driver of the serial output pin. Whenever the CS pin goes to a logic low state, the MISO pin output driver is enabled allowing information to be transferred from the MC33389 to the MCU. To avoid any spurious data, it is essential that the high-to-low transition of the CS signal occur only when SCLK is in a logic low state.
SCLK PIN
The system clock pin (SCLK) clocks the internal shift registers of the MC33389. The serial input pin (MOSI) accepts data into the input shift register on the falling edge of the SCLK signal while the serial output pin (MISO) shifts data information out of the shift register on the rising edge of the SCLK signal. False clocking of the shift register must be avoided to guarantee validity of data. It is essential that the SCLK pin be in a logic low state whenever chip select bar pin (CS) makes any transition. For this reason, it is recommended though not necessary, that the SCLK pin be kept in a low logic state as long as the device is not accessed (CS in logic high state). When CS is in a logic high state, any signal at the SCLK and MOSI pin is ignored and MISO is tristated (high impedance).
MC68HCXX
MOSI MISO
MOSI MISO
33389
SCLK CS
Figure 16. SPI Interface with Microcontroller
MOSI PIN
This pin is for the input of serial instruction data. MOSI information is read in on the falling edge of SCLK. To program the MC33389 by setting appropriate programming registers, an sixteen bit serial stream of data is required to be
CS PIN
The system MCU selects the MC33389 to be communicated with, through the use of the CS pin. Whenever the pin is in logic low state, data can be transferred from the
33389
30
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
entered the MOSI pin starting with Bit15, followed by Bit14, Bit13, etc., to Bit0. For each fall of the SCLK signal, with CS held in a logic low state, a data bit is loaded into the shift register per the tidbit MOSI state.The shift register is full after sixteen bits of information have been entered.
Table 16. Module Address Map
Address Register Register Name
$024
Transceiver control register
TCR
MISO PIN
The serial output (MISO) pin is the tri-stateable output from the shift register. The MISO pin remains in a high impedance state until the CS pin goes to a logic low state. The MISO pin changes state on the rising edge of SCLK and reads out on the falling edge of SCLK. The MOSI/MISO shifting of data follows a first-in-first-out protocol with both input and output words transferring the MSB first. Module Address Map, the module address map is shown in table. Table 16. Module Address Map
Address Register Register Name
Control and Status Reporting of the 33389 The MCU is responsible for the control data transfer to the 33389, while the 33389 reports its status to the MCU. Major data for control and status reporting are summarized here: * SPI initialization during start up * 33389 control during operation * Watchdog triggering * Reading status registers of the 33389 Control Data The control data are transferred from the MCU to the 33389. A control word includes an address of a control register and the appropriate data (see Figure 17). Basically, the following data will be transferred. Please see SPI Registers Descriptions on page 34. * 33389 mode control * Supply control * Forced wake-up timing * Cyclic sense control * Watchdog control * Transceiver control Status Data The status data are transmitted from the 33389 to the MCU. After receiving a valid register address from the MCU, the 33389 returns the appropriate status. Some of the major status data are listed below: * Current operation mode status * Wake-up sources * Reset status * Error status * Over temperature status * Transceiver status Data Transfer The data to and from the 33389 are transferred in form of two bytes.The structure of the transferred information is the same as for control and status reporting. The address field A5 to A0 (Bit 15 to Bit 10) contains the address of a control or status register in the 33389. RW (Bit 9 and Bit 8) contains the read/write flag for the data field. The parity field is located at P3 to P0 (Bit 7 to Bit 4). The data field D3 to D0 (Bit 3 to Bit 0) is part of the two-byte data word. Please see Figure 17.
$000 $003 $005 $006 $009 $00A $00C $00F $011 $012 $014 $017 $018 $01B $01D $01E $021 $022
Mode Control Register Mode Control Validation RegisterMCVR V3 control register Cyclic timing control register Software watchdog control register Ground shift level register Wake-up input control register Wake-up input status register Wake up input real time information Overtemperature status regist Transceiver error status register for CANH Transceiver error status register for CANL Reset source register Voltage supply status regist Interrupt mask control register 1 Interrupt mask control register 2 Interrupt source register 1 Interrupt source register 2
MCR MCVR V3R CYTCR SWCR GSLR WUICR WUISR WUIRTI OTSR TESRH TESRL RSR VSSR IMR1 IMR2 ISR1 ISR2
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
31
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9
Bit8
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
MISO
A5 A4 A3 A2 A1 A0 RW RW P3 P2 P1 P0 D3 D2 D1 D0
MOSI
address + R/W
parity
data
Figure 17. SPI Communication Format The SBC is accessible via the SPI interface in the Normal information. The calculation of the parity field P3-P0 has to Request mode, Normal mode, and Stand-by mode. In all follow the equations: other modes (Sleep mode, Emergency mode), the voltage supply for the microcontroller in permanently switched OFF and the SBC input logic for MISO, MOSI, CS and SCLK isn't P3 = D3 D0 (EX - OR) working (except SPI wake-up function in the Sleep mode).
P2 = D3 D2 P1 = D2 D1 P0 = D1 D0
Writing Data To write data in a SPI register there are two, one-byte transmissions to be performed. The first byte contains the address of the register (MSB first) and the read/write bits must be set to one. The second byte contains the new data addressed by the previous byte (MSB first) and the parity
Note: During the transmission of the two bytes the CS pin remains 0. Please see Figure 18
HC08/12 SPI Data Register
SBC SPI Data Register
Bit7
Bit6 Bit5 Bit4 Bit3
Bit2 Bit1
Bit0
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
Bit7
Bit6 Bit5 Bit4
Bit3
Bit2 Bit1 Bit0
A5 A4 A3 A2 A1 A0 1
1
A5 A4 A3 A2 A1 A0 RW RW P3 P2 P1 P0 D3 D2 D1 D0
new address + R/W (1st byte)
old address + R/W
old parity
old data
P3 P2 P1 P0 D3 D2 D1 D0
new data + parity (2nd byte)
Figure 18. Microcontroller SPI Writing Data The SBC sends back the old address, R/W, parity, and setting to zero. The second byte needn't contain valid data, data information from a previous transmission. This data nevertheless, the parity calculation has to performed to avoid contains no useful information (e.g. status). It shouldn't be used. an interrupt caused by a parity mismatch. In case of a wrong address field or parity mismatch, an During a read operation the SBC sends back the old interrupt will be issued and the SBC retains the old state. address and R/W bits and the new data addressed by the first transmitted byte starting with P3 after the last valid read/write Reading Data bit has been received. Note: During the transmission of the two bytes the CS pin To read data from a dedicated register two, one-byte remains zero. transmissions have to be performed. The first byte contains the address of the register (MSB first) and the read/write flags
33389
32
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
Figure 19 illustrates content of the HC08/12 SPI Data Register and the SBC SPI Data Register before the transmission. The new address and R/W bits are already in the SPI Data Register while the new data and parity bits are still in an appropriate microcontroller register or memory. This
second byte has to be loaded into the HC08/12 SPI Data Register after the first byte was transmitted to the SBC.
HC08/12 SPI Data Register
SBC SPI Data Register
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9
Bit8
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
A5 A4 A3 A2 A1 A0
0
0
A5 A4 A3 A2 A1 A0 RW RW P3 P2 P1 P0 D3 D2 D1 D0
new address + R/W (1st byte)
old address + R/W
old parity
old data
0
0
0
0
0
0
0
0
new data + parity (2nd byte)
Figure 19. Microcontroller SPI Reading Data - Sequence A After transmission of the first byte, the HC08/12 SPI read buffer contains the old address and R/W bits received from the SBC. An appropriate operation in the microcontroller loads the new data and parity into the HC08/12 SPI Data Register (second byte). In the SBC the internal logic loads P3-P0 and D3-D0 to the location of Bit 15 to Bit 8 in the SBC SPI Data Register, shifting this data within the remaining eight clock cycles. Please see Figure 20.
HC08/12 SPI Data Register
SBC SPI Data Register
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9
Bit8
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
0
Bit7
0
Bit6
0
Bit5
0
Bit4
0
Bit3
0
Bit2
0
Bit1
0
Bit0
P3 P2 P1 P0 D3 D2 D1 D0 A5 A4 A3 A2 A1 A0 0
0
A5 A4 A3 A2 A1 A0 RW RW new parity new data new address + R/W
old address + R/W in HC08/12 SPI read buffer
addressed by the new address
Figure 20. Microcontroller SPI Reading Data - Sequence B After sixteen clock cycles, the microcontrollers read buffer contains the new parity, and data and is now ready for the next transmission. Please see Figure 21.
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
33
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
HC08/12 SPI Data Register
SBC SPI Data Register
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9
Bit8
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
A5 A4 A3 A2 A1 A0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2
0
Bit1
0
Bit0
A5 A4 A3 A2 A1 A0 RW RW 0
0
0
0
0
0
0
0
P3 P2 P1 P0 D3 D2 D1 D0 old address + R/W old parity old data
new parity + new data in HC08/12 SPI read buffer
Figure 21. Microcontroller SPI Reading Data - Sequence C Safety Concept Because the SPI interface is an on-board interface without any data fault detection capabilities, the SPI interface of the 33389 provides built-in fail save functions. Address coding is based on increasing the Hamming distance, parity check, and parity generation for data. For the address and the read/write bits, only codes with a Hamming distance < 2 will be used. So, any single bit failure caused by disturbances will be recognized and handled. When one bit toggles in the address field during the transmission, no misbehavior occurs. Additionally, validation registers are implemented to confirm safety critical settings in the 33389, e.g. the Mode Control Register MCR has its validation register, MCVR. To change the appropriate settings, both registers must have the same content to switch to another mode. To increase data integrity, a parity check is used. A parity module in the 33389 ascertains the parity of the data field and compares the result with the received parity. When the parity check is successfully passed, data will be written into the addressed registers. The parity bits P3 to P0 results from the logic following equations: Table 17. Mode Control Register (MCR)
Address MCR $000 RESET R W -- -- -- -- -- Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 MSR2 MCR2 0 Bit 1 MSR1 MCR1 0 Bit 0 MSR0 MCR0 0 P3 = D3 D0 P2 = D3 D2 P1 = D2 D1 P0 = D1 D0 (EX - OR)
In case of error detection, the incoming data is not taken in the SBC and an error flag is set in an SPI register.
SPI REGISTERS DESCRIPTIONS
Registers MCR and MCVR control the SBC mode. To change the operating mode of the SBC, both registers must have the same content. The order of writing the registers has to be taken into account. To properly set the SBC mode, MCR must be written first followed by the MCVR write. A write operation sets the MCR and MCVR registers. The Emergency mode is a regular mode. A reset of both MCR and MCVR registers occurs when RST = low and the SBC is set to Normal Request mode.
33389
34
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
Table 18. Mode Control Validating Register (MCVR)
Address MCVR $003 RESET R W -- -- -- -- -- Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 MSVR2 MCR2 0 Bit 1 MSVR1 MCR1 0 Bit 0 MSVR0 MCR0 0
Table 19. MCR and MCVR Bit Definition
MC(V)R2 MC(V)R1 MC(V)R0 -- Normal Request Normal Stand-by Sleep Emergency MSR2 0 0 0 1 1 MSR1 0 0 1 0 1 MSR0 0 1 0 0 1 Automatically Entered After Reset 0 0 1 1 0 1 0 1 1 0 0 1
This register configures the state of V3 high-side switch in Normal and Stand-by modes, and the V3 operation and the Forced wake-up or the cyclic sense option for the sleep mode operation. Table 20. V3 Control Register (V3R)
Address V3R $005 RESET R W -- -- -- -- Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 WI2V3 1 Bit 2 FWU 0 Bit 1 CYS 0 Bit 0 V3R0 0
Table 21. V3R Bit Definition
WI2V3 x x x x 1 FWU 0 0 x 1 x CYS 0 0 1 0 x V3R0 0 1 x x x -- V3 OFF V3 ON Cyclic Sense ON Forced Wake-Up ON Wake-Up Inputs Linked to V3 Comments Only in Normal and Stand-by Mode Available -- Only in Sleep Mode Available
In low power modes, cyclic sense has priority. A reset of the register occurs when RST = low. Table 22. Cyclic Timing Control Register (CYTCR)
Address CYTCR $006 RESET R W -- -- -- -- -- Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 CYTCR2 0 Bit 1 CYTCR1 0 Bit 0 CYTCR0 0
This register is used to select the cyclic sense or force wake-up timing.
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
35
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
Table 23. CYTCR Bit Definition
CYTCR2 0 0 0 0 1 1 1 1 CYTCR1 0 0 1 1 0 0 1 1 CYTCR0 0 1 0 1 0 1 0 1 Comments Timer ON, t1 (Default) Timer ON, t2 Timer ON, t3 Timer ON, t4 Timer ON, t5 Timer ON, t6 Timer ON, t7 Timer ON, t8 t(ms) Typical 32 64 128 256 512 1024 2048 8192
Note: A reset of the register occurs when RST = Low.
Table 24. Software Watchdog Control Register (SWCR)
Address SWCR $009 RESET R W -- -- -- -- -- Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 SWCR2 0 Bit 1 SWCR1 0 Bit 0 SWCR0 0
This register is used to select the window watchdog time period. Open window of the selected period is only the second half of the selected period. Table 25. SWCR Bit Definition
SWCR2 0 0 0 0 1 1 1 1 SWCR1 0 0 1 1 0 0 1 1 SWCR0 0 1 0 1 0 1 0 1 Comments Timer ON, t1 (Default) Timer ON, t2 Timer ON, t3 Timer ON, t4 Timer ON, t5 Timer ON, t6 Timer ON, t7 Timer ON, t8 t(ms) Typical 5 10 20 33 50 75 100 200
Note: The software watchdog is only running in Normal and Stand-by modes. A reset of this register occurs when RST = Low.
Table 26. Ground Shift Level Register (GSLR)
Address GSLR $00A RESET R W -- -- -- -- -- 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 TXDOM Bit 2 SHIFT Bit 1 GSLR1 0 Bit 0 GSLR0 0
This register is used to monitor the ground shift of the vehicle network.
33389
36
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
Table 27. GSLR Bit Definition
GSLR1 0 0 1 1 SHIFT 1 = Ground shift above the threshold selected by GSLR1 and GSLR2 0 = No ground shift The SHIFT information is latched until a read operation of the GSLR register occurs. The GSLR register is set to 0 after power-ON reset. A reset of GSLR1 and GSLR0 occurs when RST = Low. TXDOM 0 = No failure on TX 1 = TX permanent dominant GSLR0 0 1 0 1 Typical Ground Shift Level 0.7 V -1.2 V -1.7 V -2.2 V
Table 28. Wake-Up Input Control Register (WUICR)
Address WUICR $00C RESET R W -- -- -- -- 0 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 SPIWU Bit 2 BUSWU Bit 1 WUCR1 0 Bit 0 WUICR0 0
This register configures the wake-up level for the L0, L1, and L2 inputs. It reports the CAN wake-up and SPI (CS) wake-up events during the Read operation. Table 29. WUICR Bit Definition
WUICR1 0 0 1 1 WUICR0 0 1 0 1 Description Wake-Up Inputs Disabled Positive Edge Sensitive Negative Edge Sensitive Positive and Negative Sensitive
Table 30. WUICR Bit Definition
SPIWU 0 0 1 BUSWU 0 1 0 Description No Wake-Up Events Wake-Up Event on CAN Bus Wake-Up Event on SPI Bus
The information is SPIWU and BUSWU is latched. Bits SPIWU and BUSWU will be reset by a read operation of the WUICR register and are set to 0 after a power-ON reset. A reset of WUICR1 and WUICR0 occurs when RST = Low. Table 31. Wake-Up Input Status Register (WUISR)
Address WUISR $00F RESET R W -- -- -- -- -- 0 0 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 WUISR2 Bit 1 WUISR1 Bit 0 WUISR0
This register reads back the wake input (L0, L1, L2) causing the SBC to wake-up.
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
37
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
Table 32. WUISR Bit Definition
WUISR2 0 x x 1 WUISR1 0 x 1 x WUISR0 0 1 x x Description No Event on Wake-Up Inputs Event on L0 Event on L1 Event on L2
In case of a wake-up event, the appropriate bit is set to 1. The bits will be reset by a Read operation of the register. After power-ON reset, all bits are set to 0. Table 33. Wake-Up Input Real Time Information (WUIRTI)
Address WUIRTI $011 RESET R W -- -- -- -- -- 0 0 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 WUIRTI2 Bit 1 WUIRTI1 Bit 0 WUIRTI0
This register reports the real time information on the state; (High or Low) of the L0, L1, and L2 inputs. The bits WUIRT1 2:0 contain the real time logic value coming from the wake-up inputs (0 means input below threshold, 1 means input above threshold. Typical threshold is 3.5 V). Table 34. Over Temperature Status Register (OTSR)
Address OTSR $012 RESET R W -- -- -- -- 0 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 OPWV2 Bit 2 OPWV1 Bit 1 OPTV2 OTV2C 0 0 Bit 0 OTV1
This register reads back the over temperature status for the V1 and V2 regulators. It is used to turn V2 ON after a V2 over temperature shutdown occurred in the Write mode.
OTV1: 1 = V1 over temperature shutdown, 0 = V1 no over temperature OTV2: 1 = V2 over temperature shutdown, 0 = V2 no over temperature OPWM1: 1 = V2 over temperature pre-warning, 0 = V2 normal temperature OPWV2: 1 = V2 over temperature pre-warning, 0 = V2 normal temperature In case of V1 or V2 over temperature, the appropriate voltage regulators are switched OFF automatically, and the over temperature flags are set (latched). The flags can be reset by a Read operation of the register OTSR. Once V2 is switched OFF because of over temperature (OTV2 = 1 ) it can only be switched ON again by forcing OTV2C = 0 by a Write operation. The V1 and V2 pre-warning flags are set as long as the first over temperature exists. The flags disappear, when the temperature is below the threshold. An over temperature of the V2 power supply will also switch OFF V3. After a power-ON reset, all bits of the register are set to 0.
Table 35. Transceiver Error Status Register for CANH (TESRH)
Address TESRH $014 RESET R W -- -- -- -- 0 0 0 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 TESRH3 Bit 2 TESRH2 Bit 1 TESRH1 Bit 0 TESRH0
This register reports the CANH failure status.
33389
38
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
Table 36. TESRH Bit Definition
TESRH3 0 0 x 0 1 TESRH2 0 x x 1 x TESRH1 0 0 1 0 0 TESRH0 0 1 x x x Description No Failure on CANH CANH Wire Interruption CANH Short Circuit to VBAT CANH Short Circuit to Ground CANH Short Circuit to VCC
In case of CANH line failures, the appropriate bit(s) are set according to Table 36. This information is latched. The register can be reset by a Read operation. After power-ON is reset, all bits are set to 0.
.
Table 37. Transceiver Error Status Register for CANL and Tx (TESRL)
Address TESRL $017 RESET R W -- -- -- -- 0 0 0 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 TESRL3 Bit 2 TESRL2 Bit 1 TESRL1 Bit 0 TESRL0
This register reports the CANL and Tx permanent failure status Table 38. TESRL Bit Definition
TESRL3 0 0 0 x 1 TESRL2 0 x 1 x x TESRL1 0 0 0 1 0 TESRL0 0 1 x x x Description No Failure CANL Wire Interruption
CANL Short Circuit to Ground/CANH mutually shorted to CANL
CANL Short Circuit to VBAT CANL Short Circuit to VDD
In case of CANL line failures, the appropriate bit(s) are set according to Table 38. This information is latched. The register can be reset by a Read operation. After power-ON is reset, all bits are set to 0.
Table 39. Reset Source Register (RSR)
Address RSR $018 RESET R W -- -- -- -- -- 1 0 1 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 RSR2 Bit 1 RSR1 Bit 0 RSR0
This register reports the source of a reset already occurred.
RSR0: 1 = > VDD1 under voltage occurred (RSR2 = 1 in this case), 0 = > no over voltage on V occurred RSR1: 1 = > Software watchdog reset occurred (RSR 2 = 1 in this case), 0 = > no SW watchdog reset occurred RSR2: 1 = > External reset occurred (RSR0 = RSR1= 0 in this case), 0 = > no external reset occurred Events related to the bits in register RSR are latched. All bits can be reset by a Read operation of the register. After a power-ON reset, RSR2 and RSR0 are set to 1. Therefore, the first read out of the register after power-ON delivers RSR[2:0] = [101].
Table 40. Voltage Supply Status Register (VSSR)
Address VSSR $01B RESET POR R W -- -- -- -- -- -- -- -- 0 0 0 0 -- 0 -- 1 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 V3SR Bit 2 V2SR Bit 1 VBSR1 Bit 0 VBSR0
This register monitors the status of the V2, V3, and VBAT voltage level.
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
39
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
Table 41. VBSR1 VBSR0
VBSR1 0 x 1 VBSR0 0 1 x Description No Failure on VBAT Under Voltage (BATFail)
Over Voltage (BATHigh)
V2SR: 1 = V2 ON, 0 = V2 OFF V3SR: 1 = V3 over temperature, 0 = V3 no over temperature VBSR1 is real time information. It cannot be reset. Bits V3SR, V2SR, and VBSR0 are latched and can be reset by a Read operation of the register.
The next two registers (IMR1 and IMR2) mask the interrupt function. Table 42. Interrupt Mask Control Register 1 (IMR1)
Address IMR1 $01D RESET R W -- -- -- -- Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 HV 0 Bit 2 HTPW 0 Bit 1 MTPW 0 Bit 0 BATU 0
Table 43. Interrupt Mask Control Register 2 (IMR2)
Address IMR2 $01E RESET R W -- -- -- -- -- Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 BUSF 0 Bit 1 SPIE 0 Bit 0 WU 0
To enable the appropriate interrupt, the mask bit has to be set to 1. To disable the interrupt the bit, it must be cleared to 0. After a power-ON reset or RST = Low, the bits are cleared to 0. All interrupts are disabled. Explanation for the abbreviations: HV = VBAT High voltage HT = High temperature on V1 or V2 MTPW = Medium temperature pre-warning on V1 or V2 BATU = Battery under voltage (BATFail) BUSF = CAN bus failure SPIE = SPI error WU = Wake-up
The next two registers (ISR1 and ISR2) read the interrupt source. All bits in registers ISR1 and ISR2 are copies of the appropriate bits in different SPI registers. For a faster read-out, these bits are merged in ISR1 and ISR2. A reset cannot be completed for registers ISR1 and ISR2. Table 44. Interrupt Source Register 1 (ISR1)
Address ISR $021 RESET R W -- -- -- -- 0 0 0 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 HV Bit 2 HTPW Bit 1 MTPW Bit 0 BATU
Table 45. Interrupt Source Register 2 (ISR2)
Address ISR $022 RESET R W -- -- -- -- -- 0 0 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 BUSF Bit 1 SPIE Bit 0 WU
33389
40
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
Table 46. Transceiver Control/Status Register (TCR)
Address TCR $024 RESET R W -- -- -- -- 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 TOT Bit 2 TSR2 TCR2 0 Bit 1 TSR1 TCR1 0 Bit 0 TSR0 TCR0 0
This register controls the state of the CAN transceiver (CAN transceiver is also dependent upon the SBC mode). When it is read, this register reports the CAN transceiver state and a CAN over temperature condition. Table 47. TCR / TSR Data
TCR2 0 0 0 TCR1 0 1 1 TCR0 0 0 1 Description Standard/Term VBAT Standard/Rx Only
Standard/RxTx
TSR2 0 0 0
TSR1 0 1 1
TSR0 0 0 1
TOT 1 = > Transceiver over temperature 0 = > Normal temperature The MODE bit selects between the standard and extended physical layer mode. Any conditions forcing the transceiver to Term VBAT lead to reset of TCR0 and TCRO1 bits. After power-ON reset all bits of the register are set to 0. The information TOT is latched. Reset TOT by reading the TCR. In case of RST = Low, the register content remains unchanged.
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
41
TYPICAL APPLICATIONS
TYPICAL APPLICATIONS
33389
VBAT Ignition Auxiliary 12V Rp0 S0 C1 C2 V1 V3 RST Rs0 CL0 L0 L1 L2 RH RTL CANH CANL RL Rp2 S2 RTH GND INT CS MISO MOSI SCK TX RX V2
Auxiliary 5V C5 C6
VDD C3 C4 RESET INT
Rp1 S1
SPI
Rs1 CL1
CAN GND
Rs2 CL2
CAN bus
Figure 22. Typical Application Schematic 1
33389
Ignition switch Rp0 S0 Rs0 CL0 Rp1 Rs1 S1 Rp2 S2 CL1 Rs2 CL2 C1 C2 VBAT
V1
Vdd C3 C4 reset Cr
33389
V3 L0 L1 L2 GND Auxiliary local 12V
Micro
RST
Figure 24. Reset Duration Extension
Figure 23. Typical Application: V3 Used as Auxiliary ECU Supply
33389
42
Analog Integrated Circuit Device Data Freescale Semiconductor
TYPICAL APPLICATIONS
33389
VBAT C1 Ignition Auxiliary 12V Rp0 S0 Rs0 CL0 L0 L1 L2 RH CAN bus # 1 RL RTL CANH CANL RTH GND V3 RST INT CS MISO MOSI SCK TX RX C2 V1 V2
Auxiliary 5V C5 C6
VDD RESET INT SPI bus SPI
CAN 1
CAN 2 VBAT INH VDD RTL CANH MC33388 CANL RL +12V VSUP LIN bus 1k LIN MC33399 GND INH Tx/Rx RTH GND GND Tx/Rx
RH CAN bus # 2
SCI
(Wake-up input linked to peripheral circuits: (ex: low speed CAN or LIN transceivers).
Figure 25. Typical Application Schematic 2 done at nominal voltage and temperature. By doing this, 5.0 The SBC offers several capabilities to help users debug V is provided to the MCU VDD and reset lines. their application. * External bias of V1 and reset pin Under this condition the SBC is not operational. However, the reset pin is pulled low and is sinking 5 mA to ground. This * Turn OFF software watchdog in the Stand-by mode means, the external circuitry driving reset must have a * Special debug samples with software watchdog disable at current capability higher than 5 mA in order to drive the reset power-up (contact local Motorola representative) in the high-state.
DEBUG AND PROGRAM DOWNLOAD INTO FLASH MEMORY
While the SBC is powered, it enters Normal Request mode and expects during the 75 ms time period in the NR mode, an SPI trigger word (to enter Normal mode and select the watchdog time period). If this does not occur, the SBC enters the Sleep mode and turns off V1. When the software is debugged, and when using development tools, it is not always easy to make sure these events happen properly. It is thus possible to externally power the V1 line with an external 5.0 V supply, and to force the Reset pin to V1 or to and external 5.0 V. These can be
DISABLE OF SOFTWARE WATCHDOG IN STANDBY MODE
The software watchdog can be disable in Stand-by mode only. In order to disable it the following operation must be done: * Write to MCR register-data 011 (bit 2, bit 1, bit 0) * Write to MCVR register-data 011 (bit 2, bit 1, bit 0) Then the SBC enters the Stand-by mode without software watchdog. However the V2 can not be turn on, and the CAN cell can not be used.
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
43
PACKAGING PACKAGE DIMENSIONS
PACKAGING
PACKAGE DIMENSIONS
For the most current package revision, visit www.freescale.com and perform a keyword search using the 98ASH70273A listed below.
DH SUFFIX VW SUFFIX (Pb-FREE) 20 PIN PLASTIC PACKAGE 98ASH70273A ISSUE E
33389
44
Analog Integrated Circuit Device Data Freescale Semiconductor
PACKAGING PACKAGE DIMENSIONS
DH SUFFIX VW SUFFIX (Pb-FREE) 20 PIN PLASTIC PACKAGE 98ASH70273A ISSUE E
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
45
PACKAGING PACKAGE DIMENSIONS
DW SUFFIX EG SUFFIX (Pb-FREE) 28 PIN PLASTIC PACKAGE 98ASB42345B ISSUE G
33389
46
Analog Integrated Circuit Device Data Freescale Semiconductor
PACKAGING PACKAGE DIMENSIONS
DW SUFFIX EG SUFFIX (Pb-FREE) 28 PIN PLASTIC PACKAGE 98ASB42345B ISSUE G
33389
Analog Integrated Circuit Device Data Freescale Semiconductor
47
REVISION HISTORY
REVISION HISTORY
DATE 5.0 3/2007
DESCRIPTION OF CHANGES
Added Revision History Converted to the prevailing Freescale form and style Entire document was edited for wording, labels, and technical accuracy. Added the Pb-FREE package types VW and EG to the ordering information Updated the package drawings Added Peak Package Reflow Temperature During Reflow (4), (5) on page 7 Added notes (4) and (5) Removed all references to MC33389ADW/R2, MC33389ADH/R2, MC33389CEG/R2, and MC33389DEG/R2 from the data sheet. * Restated MC33389DDW in the Device Variations on page 2
* * * * * * * *
33389
48
Analog Integrated Circuit Device Data Freescale Semiconductor
How to Reach Us:
Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor, Inc. Technical Information Center, EL516 2100 East Elliot Road Tempe, Arizona 85284 +1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com Asia/Pacific: Freescale Semiconductor Hong Kong Ltd. Technical Information Center 2 Dai King Street Tai Po Industrial Estate Tai Po, N.T., Hong Kong +800 2666 8080 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center P.O. Box 5405 Denver, Colorado 80217 1-800-441-2447 or 303-675-2140 Fax: 303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com
RoHS-compliant and/or Pb-free versions of Freescale products have the functionality and electrical characteristics of their non-RoHS-compliant and/or non-Pb-free counterparts. For further information, see http://www.freescale.com or contact your Freescale sales representative. For information on Freescale's Environmental Products program, go to http:// www.freescale.com/epp.
Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. "Typical" parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including "Typicals", must be validated for each customer application by customer's technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. FreescaleTM and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. (c) Freescale Semiconductor, Inc., 2007. All rights reserved.
MC33389 Rev. 5.0 3/2007


▲Up To Search▲   

 
Price & Availability of MC33389DDW

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X